Filling as a good first bug to learn workflows. ``` toolkit/components/glean/api/src/private/event.rs 110:29 warning use of `.unwrap_or_else(..)` to construct default value clippy::unwrap_or_else_default (clippy) ``` Links to the code: https://searchfox.org/mozilla-central/rev/78a2c17cc80680a5a82446e4ce7c45a73b935383/toolkit/components/glean/api/src/private/event.rs#110 As the change is trivial, it is just to learn how to contribute to Firefox. Tutorial to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html https://firefox-source-docs.mozilla.org/contributing/stack_quickref.html Please don't ask for the bug to be assigned. It will be automatically assigned to the first patch.
Bug 1868296 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Filling as a good first bug to learn workflows. ``` toolkit/components/glean/api/src/private/event.rs 110:29 warning use of `.unwrap_or_else(..)` to construct default value clippy::unwrap_or_else_default (clippy) ``` Links to the code: https://searchfox.org/mozilla-central/rev/78a2c17cc80680a5a82446e4ce7c45a73b935383/toolkit/components/glean/api/src/private/event.rs#110 To run clippy: ./mach lint -l clippy toolkit/components/glean/api/src/ -W -v As the change is trivial, it is just to learn how to contribute to Firefox. Tutorial to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html https://firefox-source-docs.mozilla.org/contributing/stack_quickref.html Please don't ask for the bug to be assigned. It will be automatically assigned to the first patch.
Filling as a good first bug to learn workflows. ``` toolkit/components/glean/api/src/private/event.rs 110:29 warning use of `.unwrap_or_else(..)` to construct default value clippy::unwrap_or_else_default (clippy) ``` Links to the code: https://searchfox.org/mozilla-central/rev/78a2c17cc80680a5a82446e4ce7c45a73b935383/toolkit/components/glean/api/src/private/event.rs#110 To run clippy: ``` ./mach lint -l clippy toolkit/components/glean/api/src/ -W -v ``` As the change is trivial, it is just to learn how to contribute to Firefox. Tutorial to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html https://firefox-source-docs.mozilla.org/contributing/stack_quickref.html Please don't ask for the bug to be assigned. It will be automatically assigned to the first patch.